from django.shortcuts import render, HttpResponse
import os

# Create your views here.
def index_handler(request):
    files = os.listdir(os.path.join('static', 'file'))
    params = {
        "files": files,
    }

    return render(request, 'myapp_index.html', params)
